package com.eve.springcloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * OpenFeign(需要Eureka) 取代 Ribbon+restTemplate
 * @author HXL
 * 20200511
 *
 */
@EnableFeignClients        // 激活并开启Feign
@SpringBootApplication
public class Consumer9003Application {

	public static void main(String[] args) {
		SpringApplication.run(Consumer9003Application.class, args);
	}
}
